package cloud.shyidong.tenant.entity;

import cloud.shyidong.core.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 租户实体
 * </p>
 *
 * @author syd
 * @since 2023-08-24 15:55:13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tenant_tenant")
public class TenantTenantEntity implements BaseEntity {
    
    private static final long serialVersionUID = 1L;
    
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    /**
     * 名称
     */
    private String name;
    
    private BigDecimal price;
    
    /**
     * 到期时间
     */
    private Date endTime;
    
    /**
     *
     */
    private Integer status;
    
    /**
     *
     */
    private Integer sortIndex;
    
    /**
     *
     */
    private Long createUser;
    
    /**
     *
     */
    private Date createTime;
    
    /**
     *
     */
    private Long updateUser;
    
    /**
     *
     */
    private Date updateTime;
    
    /**
     *
     */
    @TableLogic
    private Integer deleted;
    
    /**
     *
     */
    private String remark;
    
    
}
